export interface ApiResult<T = undefined> {
  code: number
  msg: string
  data: T
}

export interface Pageable {
  page?: number
  page_size?: number
}

export interface Page<T = undefined> {
  total: number
  pages: number
  list: T[]
  size: number
}

export enum ApiCode {
  Success = 2000,
  TokenError = 5000,
}
